home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ian & Stuart's Australian Mac: Not for Sale
/
Another.not.for.sale (Australia).iso
/
fade into you
/
getting there
/
TCP⁄PPP⁄SLIP
/
TCP⁄IP Scripting Addition 1.1.2
/
CHANGES (text)
next >
Wrap
Text File
|
1994-10-19
|
5KB
|
195 lines
Changes from 1.1.1 to 1.1.2
tcp read
• confirms a stream connection exists before reading from it
(bug fix)
global
• changed internal 4 character keywords for all the
enumerated constants and field names for class stream
and class stream status
Changes from 1.1 to 1.1.1
tcp read
• will return an error if a read is attempted on a released stream
if no data is waiting in the internal buffer
run and get ftp sample
• handles more types of FTP servers
FTP receive client
• handles more types of FTP servers
• now handles host names (not just IP addresses)
• correct spelling in several dialogs
FTP send client
• displays file name correctly in progress window when sending
• now handles host names (not just IP addresses)
• correct spelling in several dialogs
Changes from 1.1b2 to 1.1
tcp read
• will return the last piece of data even if the connection is
already closed
• will read data as a particular type, or a list of a particular
type
tcp write
• will write data of any type, or a list of any typed data
• changed syntax of "text" parameter to "data"
tcp receive
• will save the last piece of data even if the connection is
already closed
• now supports Raw Data Fork, Raw Resource Fork, and MacBinary
transfers
• now supports receiving into an open file (opened with open for
access, a new AppleScript 1.1 Scripting Addition)
tcp send
• now supports Raw Data Fork, Raw Resource Fork, and MacBinary
transfers
• now supports sending from an open file (opened with open for
access, a new AppleScript 1.1 Scripting Addition)
tcp status
• if data is waiting to be read, but the connection is now
closed, tcp status fools the script into thinking the connection
is still open, even if it's not
tcp serve
• if create works, but is unable to passive open, tcp connect
will release the stream
tcp debug dump buffer
• new command that returns the data waiting in the internal
buffer (i.e. data that's been read from MacTCP, but hasn't been
given to the script yet)
tcp shutdown
• new command that can be used to close one or both directions of
the full duplex tcp/ip connection (i.e. nothing more to read,
nothing more to write).
Changes from 1.0 to 1.1b2
tcp status
• connection status codes now displayed in results window
(AppleScript 1.1)
• constant values changed for new release: can now differentiate
between active and passive half-closed states
• port numbers now returned as long words, so no negative values
should be seen
• added better error messages if required parameters are missing
• no longer insist that extra parameters must not be included
tcp receive
• fixed bug where destination file reference was kept open
• added additional error checking for creating destination file
on locked volumes
• added append parameter
• read is done async for self-send support
• receive will continue to read on a half-closed stream
• added better error messages if required parameters are missing
• no longer insist that extra parameters must not be included
tcp close
• when releasing, tcp close now flushes all waiting data to be
read before releasing the stream
• close, flush and release and done async for self-send support
• added better error messages if required parameters are missing
• no longer insist that extra parameters must not be included
tcp connect
• added from port parameter
• added maximum seconds parameter
• if create works, but is unable to connect, tcp connect will
release the stream
• connect is done async for self-send support
• added better error messages if required parameters are missing
• no longer insist that extra parameters must not be included
tcp wait for connect
• port parameter is now optional: without it, MacTCP will pick
an arbitrary port to use. You can find this port using tcp status
• added better error messages if required parameters are missing
• no longer insist that extra parameters must not be included
tcp name to address
• new command that takes hostname and returns IP address
tcp address to name
• new command that takes IP address in dot notation (W.X.Y.Z)
and returns host name
tcp send
• sending files is done async for self-send support
• added better error messages if required parameters are missing
• no longer insist that extra parameters must not be included
tcp my address
• added better error messages if required parameters are missing
• no longer insist that extra parameters must not be included
Changes from 1.0b1 to 1.0
tcp wait for connect
• changed syntax “on port” to “port”
tcp connect
• connect timeout extended to 60 seconds
tcp read
• added feature to translate using ISO-8859-1
tcp get
• added feature to translate using ISO-8859-1
• fixed maximum seconds bug
tcp write
• added feature to translate using ISO-8859-1
• removed add linefeeds parameter
tcp put
• added feature to translate using ISO-8859-1
tcp my address
• new command to return local address
sample scripts
• these have been debugged and improved extensively to
work with AppleScript 1.1